export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  searchMenuSpan: 6,
  searchShow: false,
  viewBtn: true,
  column: [
    {
      type: 'input',
      label: '监督人',
      prop: 'supervisionPerson',
      span: 12,
      formslot: true,
      search: true,
      required: true,
      rules: [{ required: true, message: '请选择监督人' }]
    },
    {
      type: 'input',
      label: '编号',
      prop: 'number',
      width: 150,
      span: 12,
      search: true,
      display: false
    },
    {
      type: 'input',
      label: '监督人id',
      prop: 'supervisionPersonId',
      span: 12,
      hide: true,
      display: false
    },
    {
      type: 'date',
      label: '监督时间',
      prop: 'supervisionTime',
      width: 120,
      span: 12,
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
      search: true,
      required: true,
      searchRange: true,
      rules: [{ required: true, message: '填写监督时间' }]
    },
    {
      type: 'input',
      label: '监督地点',
      prop: 'supervisionPlace',
      span: 12,
      width: 200,
      overHidden: true,
      search: true,
      required: true,
      rules: [{ required: true, message: '填写监督地点' }]
    },
    {
      type: 'input',
      label: '组织单位',
      prop: 'organizationalUnit',
      span: 12,
      width: 100,
      formslot: true,
      search: true,
      required: true,
      rules: [{ required: true, message: '选择组织单位' }]
    },
    {
      type: 'input',
      label: '事项名称',
      prop: 'itemName',
      overHidden: true,
      width: 250,
      span: 24,
      search: true,
      required: true,
      rules: [{ required: true, message: '填写事项名称' }]
    },
    {
      type: 'input',
      label: '参加人员',
      prop: 'participants',
      span: 24,
      width: 200,
      overHidden: true,
      search: true
    },
    {
      type: 'input',
      label: '参加人员ids',
      prop: 'participantsId',
      span: 12,
      hide: true,
      display: false
    },
    {
      type: 'textarea',
      label: '监督情况',
      prop: 'supervised',
      overHidden: true,
      width: 300,
      span: 24,
      display: true
    },
    {
      type: 'textarea',
      label: '备注',
      prop: 'remarks',
      overHidden: true,
      width: 300,
      span: 24,
      display: true
    },
    {
      label: '附件信息',
      prop: 'uploadPage',
      type: 'input',
      formslot: true,
      slot: true,
      span: 24,
      hide: true
    }
  ]
}
